package com.xiaoyu.lingdian.vo;

import java.util.List;

import com.xiaoyu.lingdian.entity.CoreAttachment;
import com.xiaoyu.lingdian.entity.CoreRideRecord;
import com.xiaoyu.lingdian.vo.BaseVO;
import com.xiaoyu.lingdian.tool.DateUtil;

public class CoreRideRecordVO implements BaseVO {

	/**
	*标识UUID
	*/
	private String crrrdUuid;

	/**
	*下单用户UUID
	*/
	private String crrrdUser;
	
	/**
	*下单用户姓名
	*/
	private String crrrdUserName;

	/**
	*社区活动UUID
	*/
	private String crrrdActive;

	/**
	*活动名称
	*/
	private String crrrdTitle;

	/**
	*创建日期
	*/
	private String crrrdCdate;

	/**
	*修改日期
	*/
	private String crrrdUdate;

	/**
	*状态:1已报名2已付款3已取消4已完成
	*/
	private Integer crrrdStatus;

	/**
	*报名费用
	*/
	private String crrrdTotal;

	/**
	*备注
	*/
	private String crrrdRemarks;
	
	/**
	*附件详情
	*/
	private List<CoreAttachment> list;
	
	public void setCrrrdUuid(String crrrdUuid) {
		this.crrrdUuid = crrrdUuid;
	}

	public String getCrrrdUuid( ) {
		return crrrdUuid;
	}

	public void setCrrrdUser(String crrrdUser) {
		this.crrrdUser = crrrdUser;
	}

	public String getCrrrdUser( ) {
		return crrrdUser;
	}

	public String getCrrrdUserName() {
		return crrrdUserName;
	}

	public void setCrrrdUserName(String crrrdUserName) {
		this.crrrdUserName = crrrdUserName;
	}

	public void setCrrrdActive(String crrrdActive) {
		this.crrrdActive = crrrdActive;
	}

	public String getCrrrdActive( ) {
		return crrrdActive;
	}

	public void setCrrrdTitle(String crrrdTitle) {
		this.crrrdTitle = crrrdTitle;
	}

	public String getCrrrdTitle( ) {
		return crrrdTitle;
	}

	public void setCrrrdCdate(String crrrdCdate) {
		this.crrrdCdate = crrrdCdate;
	}

	public String getCrrrdCdate( ) {
		return crrrdCdate;
	}

	public void setCrrrdUdate(String crrrdUdate) {
		this.crrrdUdate = crrrdUdate;
	}

	public String getCrrrdUdate( ) {
		return crrrdUdate;
	}

	public void setCrrrdStatus(Integer crrrdStatus) {
		this.crrrdStatus = crrrdStatus;
	}

	public Integer getCrrrdStatus( ) {
		return crrrdStatus;
	}

	public void setCrrrdTotal(String crrrdTotal) {
		this.crrrdTotal = crrrdTotal;
	}

	public String getCrrrdTotal( ) {
		return crrrdTotal;
	}

	public void setCrrrdRemarks(String crrrdRemarks) {
		this.crrrdRemarks = crrrdRemarks;
	}

	public String getCrrrdRemarks( ) {
		return crrrdRemarks;
	}

	public List<CoreAttachment> getList() {
		return list;
	}

	public void setList(List<CoreAttachment> list) {
		this.list = list;
	}

	public CoreRideRecordVO( ) { 
	}

	@Override
	public void convertPOToVO(Object poObj) {
		if (null == poObj) {
			return;
		}

		CoreRideRecord po = (CoreRideRecord) poObj;
		this.crrrdUuid = po.getCrrrdUuid();
		this.crrrdUser = po.getCrrrdUser();
		this.crrrdUserName=po.getCrrrdUserName();
		this.crrrdActive = po.getCrrrdActive();
		this.crrrdTitle = po.getCrrrdTitle();
		this.crrrdCdate = po.getCrrrdCdate()!=null?DateUtil.formatTimesTampDate(po.getCrrrdCdate()):"";
		this.crrrdUdate = po.getCrrrdUdate()!=null?DateUtil.formatTimesTampDate(po.getCrrrdUdate()):"";
		this.crrrdStatus = po.getCrrrdStatus();
		this.crrrdTotal = po.getCrrrdTotal();
		this.crrrdRemarks = po.getCrrrdRemarks();
	}
//<=================定制内容开始==============
//==================定制内容结束==============>

}